package com.atguigu.tingshu.common.login;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface UserLogin {

    /**
     * 是否需要拦截 默认为false
     */
    boolean required() default false;

}
